/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gui.graphicals;

import java.awt.Color;
import javax.swing.JPanel;
import javax.swing.JTextArea;

/**
 *
 * @author laetitia
 */
public class ExplorerPanel extends JPanel {

    private String m_text = "Tree root : ";
    private JTextArea m_JTextArea;

    public ExplorerPanel() {
        super();

        this.m_JTextArea = new JTextArea(m_text);
        this.setBackground(Color.white);
        this.add(m_JTextArea);
    }

    public void setMyText(String textToSet) {
        this.m_JTextArea.setText(textToSet);
    }
}
